	body{
		background-color: #f5f5f5;
	}
.chat-container {
  display: flex;
  flex-direction: column;
 
  background-color: #f5f5f5;
}

/* 头部样式 */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background-color: #fff;
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  
  .header-left, .header-right {
    width: 40px;
    display: flex;
    justify-content: center;
  }
  
  .header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    
    .title {
      font-size: 18px;
      font-weight: 500;
      color: #333;
    }
    
    .status {
      font-size: 12px;
      color: #07c160;
      margin-top: 2px;
    }
  }
}
.chat-content{
	background-color: #f5f5f5;
	padding-bottom: 80rpx;
}
/* 消息容器 */
.message-container {
  margin-bottom: 16px;
}

/* 居中时间 */
.message-time {
  text-align: center;
  font-size: 12px;
  color: #999999;
  margin: 8px 0;
}

/* 消息项 */
.message-item {
  display: flex;
  align-items: flex-start;
  padding: 0 15px;
  
  /* 客服消息（左侧） */
  &.service {
    justify-content: flex-start;
    
    .message-bubble {
      background: #FFFFFF;
      border-radius: 0 12px 12px 12px;
      margin-left: 8px;
    }
  }
  
  /* 用户消息（右侧） */
  &.customer {
    justify-content: flex-end;
    
    .message-bubble {
      background: #95EC69;
      border-radius: 12px 0 12px 12px;
      margin-right: 8px;
      order: -1; /* 使消息内容在头像左侧 */
    }
  }
}

/* 头像样式 */
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* 消息气泡 */
.message-bubble {
  max-width: 70%;
  padding: 10px 14px;
  word-break: break-word;
  
  .message-text {
    font-size: 16px;
    line-height: 1.4;
  }
}
.chat-footer {
  background-color: #fff;
  padding: 5px 5px;
  border-top: 1px solid #f0f0f0;
  position: fixed;
  bottom: 0;
  width: 100%;
}

.input-area {
  display: flex;
  align-items: center;
  background-color: #f5f5f5;
  border-radius: 20px;
  padding: 6px 12px;
  
  .input {
    flex: 1;
    height: 36px;
    padding: 0 10px;
    font-size: 16px;
    color: #333;
    background-color: transparent;
  }
  
  .action-buttons {
    display: flex;
    align-items: center;
    margin-left: 8px;
    
    button {
      margin: 0;
      padding: 0;
      background: transparent;
      border: 1px solid black;
      line-height: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      &::after {
        border: none;
      }
    }
    
    .send-btn {
      color: #07c160;
      font-size: 16px;
      font-weight: 500;
      padding: 5px 12px;
    }
    
    .voice-btn, .more-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background-color: rgba(0,0,0,0.05);
      
      .icon {
        font-size: 20px;
        color: #666;
      }
    }
    
    .more-btn {
      margin-left: 6px;
    }
  }
}
/* 更多功能面板 */
.more-func-panel {
  display: flex;
  justify-content: space-around;
  padding: 15px 0;
  border-top: 1px solid #f0f0f0;
  margin-top: 10px;
  
  .func-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60px;
    
    .func-icon {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #f5f5f5;
      border-radius: 50%;
      margin-bottom: 5px;
    }
    
    .func-text {
      font-size: 12px;
      color: #666;
    }
  }
}